package com.study.design.pattern.pattern.creational.simplefactory;

/**
 * @Author: gongsl
 * @Date: 2025-01-14 22:00
 * @description:
 */
public class Test {
    public static void main(String[] args) {
        Video video = VideoFactory.getVideo(JavaVideo.class);
        if (video != null) {
            video.produce();
        }
    }
}
